package cst.a308lzm.startproject308lam.service;

import cst.a308lzm.startproject308lam.bean.WeatherResult;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by john on 2017/5/10.
 */


public interface WeatherService {
    //将接口的URL补充完整
    @GET("data/sk/{cityNumber}.html")
    //向API传参数
    Call<WeatherResult> getResult(@Path("cityNumber") String cityNumber);

}
